<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html>
<html lang="es">
<%@ include file="check-autenticacion.jsp" %> 
<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Portal-2 - TP Grupo 7 - Ver usuario</title>

    <!-- Bootstrap Core CSS -->
    <link href="resources/css/bootstrap.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="resources/css/shop-homepage.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="resources/css/portal.css" rel="stylesheet">
    
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>

    <!-- Navigation -->
	<%@ include file="nav.jsp" %> 
	
	<!-- Modal confirmar carrito -->
	<%@ include file="modal-confirmar-carrito.jsp" %> 
    
	<!-- Modal vaciar carrito -->
	<%@ include file="modal-vaciar-carrito.jsp" %> 	
	    
	<!-- Modal salir -->
	<%@ include file="modal-salir.jsp" %> 
		    
    <!-- Contenido de la pàgina -->
    <div class="container">

        <div class="row">

            <div class="col-md-3">
                <p class="lead">Ver usuario </p>        
                Usuario: 		<c:out value="${sessionScope.usuarioVO.userLogin}"></c:out> <br />    
            </div>

            <div class="col-md-9">

                <div class="row carousel-holder">

                    <div class="col-md-12">
                        <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                            <ol class="carousel-indicators">
                                <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                                <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                            </ol>
                            <div class="carousel-inner">
                                <div class="item active">
                                    <img class="slide-image" src="resources/img/logo-web1.png" alt="">
                                </div>
                                <div class="item">
                                    <img class="slide-image" src="resources/img/logo-web2.png" alt="">
                                </div>
                            </div>
                            <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
                                <span class="glyphicon glyphicon-chevron-left"></span>
                            </a>
                            <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
                                <span class="glyphicon glyphicon-chevron-right"></span>
                            </a>
                        </div>
                    </div>

                </div>
				<!-- dmerneis: Esto veo que onda -->
				<div class="row" style="background-color: #cccccc;">
					<div class="col-md-12">
						<table style="width:100%;">
                       		<tr>
                       			<td class="center">Usuario:  <c:out value="${sessionScope.usuarioVO.userLogin}"></c:out></td>
                       		</tr>	
                       		<tr>	
                       			<td class="center">Nombre: <c:out value="${sessionScope.usuarioVO.nombre}">	</c:out> </td>
                       		</tr>
                       		<tr>	
                       			<td class="center">Apellido: <c:out value="${sessionScope.usuarioVO.apellido}">	</c:out></td>
                       		</tr>	
                            <tr>	
                       			<td class="center">Dirección:  <c:out value="${sessionScope.usuarioVO.direccion}">	</c:out></td>
                       		</tr>					                                		
                       		<tr>
                       			<td class="center">Coordenada X: <c:out value="${sessionScope.usuarioVO.coordenadaX}"></c:out>	 </td>
                       		</tr>
                       		<tr>	
                       			<td class="center">Coordenada Y:  <c:out value="${sessionScope.usuarioVO.coordenadaY}">	</c:out></td>
                       		</tr>						
							<tr>					
								<td class="center">
			                    <form method="post" action="/PortalWeb/home">
									<button type="submit" class="btn btn-default">
								  	<span class="glyphicon glyphicon-home"></span> Volver
									</button>	                    
			                    </form>									
								</td>		
							</tr>						
						</table>																						
					</div>		
					
					<div class="col-sm-4 col-lg-4 col-md-4">
						
					</div>		
					
					<div class="col-sm-4 col-lg-4 col-md-4">
					
					</div>										
				</div>
				<br />
            </div>
        </div>

    </div>
    <!-- /.container -->

    <div class="container">

        <hr>

        <!-- Footer -->
        <footer>
            <div class="row">
                <div class="col-lg-12">
                    <p>Copyright &copy; Porta 2 - Trabajo Práctico Obligatorio. Grupo 7
                    </p>
                </div>
            </div>
        </footer>

    </div>
    <!-- /.container -->

    <!-- jQuery Version 1.11.0 -->
    <script src="resources/js/jquery-1.11.0.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="resources/js/bootstrap.min.js"></script>   
</body>

</html>
